package com.mjj.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {
    @RequestMapping("/test")
    @ResponseBody
    public String testSayHello() {
        return "Hellp Springboot";

    }

    @RequestMapping("/test")
    @ResponseBody
    public String testSayHello2() {
        System.out.println("测试第二次提交");
        return "Hellp Springboot";

    }
}
